package com.smartstate.dataManagement.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.awt.font.TextHitInfo;

@Data
@TableName("employee_schedu")
@Entity
@ApiModel(description = "职员排班信息实体类")
public class EmployeeSchedu {
    @Id
    private   int id;
    private   String empId;
    private   String name;
    private   String phone;
    private   String type;
    private   String scheduTime;
    private   String updateTime;
    private   String createTime;
    private   String createUser;
//    public EmployeeSchedu(Builder builder){
//        this.empId=builder.empId;
//        this.name=builder.name;
//        this.phone= builder.phone;
//        this.type=builder.type;
//        this.scheduTime=builder.scheduTime;
//        this.updateTime=builder.updateTime;
//        this.createTime=builder.createTime;
//        this.createUser=builder.createUser;
//    }
//
//
//    public static  class Builder{
//        private   int id;
//        private   String empId;
//        private   String name;
//        private   String phone;
//        private   String type;
//        private   String scheduTime;
//        private   String updateTime;
//        private   String createTime;
//        private   String createUser;
//
//        public Builder setId(int id) {
//            this.id = id;
//            return  this;
//        }
//
//        public Builder setEmpId(String empId) {
//            this.empId = empId;
//            return  this;
//        }
//
//        public Builder setName(String name) {
//            this.name = name;
//            return  this;
//        }
//
//        public Builder setPhone(String phone) {
//            this.phone = phone;
//            return  this;
//        }
//
//        public Builder setType(String type) {
//            this.type = type;
//            return  this;
//        }
//
//        public Builder setScheduTime(String scheduTime) {
//            this.scheduTime = scheduTime;
//            return  this;
//        }
//
//        public Builder setUpdateTime(String updateTime) {
//            this.updateTime = updateTime;
//            return  this;
//        }
//
//        public Builder setCreateTime(String createTime) {
//            this.createTime = createTime;
//            return this;
//        }
//
//        public Builder setCreateUser(String createUser) {
//            this.createUser = createUser;
//            return  this;
//        }
//
//        public   EmployeeSchedu   getBean(){
//            return   new EmployeeSchedu(this);
//        }
//    }

}
